package com.tudouji.project.purchasebill.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 采购单明细对象 purchasebillitem
 * 
 * @author tudouji
 * @date 2022-04-11
 */
@Data
public class Purchasebillitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    private String guid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String purchaseguid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productguid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String spguid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String spname;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private BigDecimal loadcount;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private BigDecimal count;

    /** 库存单位id */
    @Excel(name = "库存单位id")
    private Long stockunitid;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private String stockunit;

    //业务单据传入，业务单位到库存单位的转换率
    private BigDecimal busiunitTostockunitRate;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private String srguid;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private String shrguid;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private String orgguid;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private String orgname;

    /** $column.columnComment */
    @Excel(name = "库存单位id")
    private BigDecimal price;

    /** 1-人民币2-美金 */
    @Excel(name = "1-人民币2-美金")
    private Integer currency;

    /** $column.columnComment */
    @Excel(name = "1-人民币2-美金")
    private BigDecimal amount;

    private String type;

    private Integer productType;

}
